/*
 *  TestMain.cpp
 *  SoundController0002
 *
 *  Created by jiro on 10/07/05.
 *  Copyright 2010 jiro music. All rights reserved.
 *
 */

#include "AudioRecorderTester.h"
#include "AudioPlayerTester.h"
#include "StochasticSoundObject000Tester.h"
#include "PureTemperatmenTester.h"
#include "LineTester.h"
#include "WaveFunctionTester.h"
#include "SoundElementTester.h"
#include "WaveTableWithWaveFunctionTester.h"
#include "SoundElementFactoryTester.h"
#include "WaveTableFactoryTester.h"
#include "TimeControllerTester.h"
#include "SoundGeneratorTester.h"
#include <unistd.h>

#include <AudioToolbox/AudioToolbox.h>

using namespace sc;

int main( int argc, char* argv[] )
{
	{
		SoundGeneratorTester tester;
		tester.TestAll();
	}

	{
		TimeControllerTester tester;
		tester.TestAll();
	}
	
	{
		WaveFunctionTester tester;
		tester.TestAll();
	}

	{
		WaveTableFactoryTester tester;
		tester.TestAll();
	}

	{
		SoundElementFactoryTester tester;
		tester.TestAll();
	}
	
	{
		WaveTableWithWaveFunctionTester tester;
		tester.TestAll();
	}

	{
		SoundElementTester tester;
		tester.TestAll();
	}

	{ 
		PureTemperatmenTester tester;
		tester.TestAll();
	}

	{
		LineTester tester;
		tester.TestAll();
	}

	{ 
		AudioRecorderTester tester;
		tester.TestAll();
	}

	{
		StochasticSoundObject000Tester tester;
		tester.TestAll();
	}

	{
		AudioPlayerTester tester;
		tester.TestAll();
	}

	return 0;

}
